//
//  ChatModel.h
//  UUChatTableView
//
//  Created by shake on 15/1/6.
//  Copyright (c) 2015年 uyiuyao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ChatModel : NSObject
{
     NSString *previousTime;
}
@property (nonatomic, strong) NSMutableArray *dataSource;

@property (nonatomic) BOOL isGroupChat;
@property (strong, nonatomic) NSString *avatarUrl;
- (void)populateRandomDataSource;

- (void)addRandomItemsToDataSource:(NSInteger)number;

- (void)addEachOtherItem:(NSDictionary *)dic conversationid:(NSString *)conversationid messageID:(NSString *)messageID;
- (void)insertEachOtherItem:(NSDictionary *)dic conversationid:(NSString *)conversationid index:(int)index;

- (void)addSpecifiedItem:(NSDictionary *)dic;
- (void)insertSpecifiedItem:(NSDictionary *)dic index:(int)index;
@end
